#! /usr/bin/env fan
//
// Copyright (c) 2010, chunquedong
// Licensed under the Academic Free License version 3.0
//
// History:
//   2010-9-22  Jed Young  Creation
//

using build

class Build : BuildScript
{
  @Target { help = "build my app as a single JAR dist" }
  Void dist()
  {
    dist := JarDist(this)
    dist.outFile = `./chunmapTouch.jar`.toFile.normalize
    dist.podNames =
    [
      "inet",
      "util",
      "concurrent",
      "web",
      "gfx",
      "fwt",
      "fan3dMath",
      "array",
      "gfx2",
      "gfx2Imp",
      "fan3dTouch",
      "chunmapView",
      "chunmapModel",
      "chunmapRaster",
      "chunmapData",
      "chunmapUtil",
      "chunmapTouch"
    ]
    dist.mainMethod = "chunmapTouch::Main.main"
    dist.run
  }
}